package com.lxyk.sgq.api;


import com.lxyk.utils.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "DAY92-STOCK-TEST-SERVICE")
@Component
public interface StockApi {

    @GetMapping("/stock/subStock/{id}")
    AjaxResult subStock(@PathVariable("id") Long id);

}
